home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 100 / CD-ROM 100.iso / aplic / oo1_1 / f_0034 / common.jar / text / common / guide / formfields.xml < prev    next >
Encoding:
Extensible Markup Language  |  2003-04-30  |  7.3 KB  |  96 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Inserting and Editing Buttons</title><meta name="filename" content="text/common/guide/formfields"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle1{
  5.                 }
  6.         span.Tabelle1A{
  7.                 width:18cm;}
  8.         td.Tabelle1A1{
  9.                 }
  10.         table.Tabelle2{
  11.                 }
  12.         span.Tabelle2A{
  13.                 width:18cm;}
  14.         td.Tabelle2A1{
  15.                 }
  16.         table.Tabelle3{
  17.                 }
  18.         span.Tabelle3A{
  19.                 width:18cm;}
  20.         td.Tabelle3A1{
  21.                 }
  22.         p.P1{
  23.                 }
  24.         p.P2{
  25.                 }
  26.         p.P3{
  27.                 }
  28.         p.P4{
  29.                 }
  30.         p.P5{
  31.                 }
  32.         span.T1{
  33.                 font-weight:bold;}
  34.         span.fr1{
  35.                 }
  36.         span.fr2{
  37.                 }
  38.         </style></head><body>
  39.   
  40.   
  41.   <p class="P1"/>
  42.   <p class="Head1"><help:paragraphinfo state="U" number="5" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="buttons; examples" tag="kw68136_1" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="controls; examples" tag="kw68136_2" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="formfields" xmlns:help="http://openoffice.org/2000/help"><help:link Id="68136">Inserting and Editing Buttons</help:link></help:to-be-embedded></p>
  43.   <ol class="L1">
  44.    <li class="">
  45.     <p class="P2"><help:paragraphinfo state="U" number="6" xmlns:help="http://openoffice.org/2000/help"/>Open the <span class="T1">Form Functions</span> floating toolbar.</p>
  46.    </li>
  47.    <li class="">
  48.     <p class="P2"><help:paragraphinfo state="U" number="7" xmlns:help="http://openoffice.org/2000/help"/>Click the <span class="T1">Push Button</span> icon in the <span class="T1">Form Functions</span> floating toolbar. The pointer will change to a cross-hair symbol.</p>
  49.    </li>
  50.    <li class="">
  51.     <p class="P2"><help:paragraphinfo state="U" number="8" xmlns:help="http://openoffice.org/2000/help"/>In the document, drag open a box representing the size and position of the command button you want to insert.</p>
  52.     <p class="P2"><help:paragraphinfo state="U" number="9" xmlns:help="http://openoffice.org/2000/help"/>The new button is selected.</p>
  53.    </li>
  54.    <li class="">
  55.     <p class="P2"><help:paragraphinfo state="U" number="79" xmlns:help="http://openoffice.org/2000/help"/>To select a button, click on the edge, where the mouse pointer appears with a cross with four arrows, or keep the <help:switch select="System" xmlns:help="http://openoffice.org/2000/help"><help:case select="MAC">Option</help:case><help:default>Alt</help:default></help:switch> key pressed.</p>
  56.    </li>
  57.   </ol>
  58.   <p class="Paragraph"><help:paragraphinfo state="U" number="80" xmlns:help="http://openoffice.org/2000/help"/>You can move and scale a selected button like a graphic. You can open dialogs for editing properties through the context menu for the button.</p>
  59.   <ul class="L2">
  60.    <li class="">
  61.     <p class="P3"><help:paragraphinfo state="U" number="10" xmlns:help="http://openoffice.org/2000/help"/>Select the <span class="T1">Control</span> command from the context menu of the selected button to access the <span class="T1">Properties: Button</span> dialog. You can also call this dialog by clicking the <span class="T1">Control Properties</span> icon contained in the <span class="T1">Form Functions</span> floating toolbar.</p>
  62.    </li>
  63.   </ul>
  64.   <table><tr class=""><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  65.       <p class="TextInTable"><draw:image draw:name="Dialog0" svg:desc="Control Properties Dialog" svg:pixelx="308" svg:pixely="375" svg:width="8.149cm" svg:height="9.922cm" xlink:href="66966" draw:filter-name="" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  66.  
  67.      </span></th></tr></table>
  68.   <ul class="L3">
  69.    <li class="">
  70.     <p class="P4"><help:paragraphinfo state="U" number="11" xmlns:help="http://openoffice.org/2000/help"/>You can change the text on the button under <span class="T1">General -Title</span>.</p>
  71.    </li>
  72.    <li class="">
  73.     <p class="P4"><help:paragraphinfo state="U" number="12" xmlns:help="http://openoffice.org/2000/help"/>Use the <span class="T1">Events</span> tab if you would like to run a macro when the button has been clicked. Click the<span class="T1"> ... </span>button at the right to access a selection dialog for macros.</p>
  74.    </li>
  75.   </ul>
  76.   <table><tr class=""><th class="Tabelle2A1" style="text-align:left;"><span class="Tabelle2A">
  77.       <p class="TextInTable"><draw:image draw:name="Dialog1" svg:desc="Assign Macro Dialog" svg:pixelx="484" svg:pixely="275" svg:width="12.801cm" svg:height="7.288cm" xlink:href="66965" draw:filter-name="" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  78.  
  79.      </span></th></tr></table>
  80.   <ul class="L4">
  81.    <li class="">
  82.     <p class="P5"><help:paragraphinfo state="U" number="13" xmlns:help="http://openoffice.org/2000/help"/>The <span class="T1">Event</span> list box contains all possible events to which a control can react. Select the macro will run when the button is clicked, and then confirm your selection by clicking the <span class="T1">Assign</span> button.</p>
  83.    </li>
  84.    <li class="">
  85.     <p class="P5"><help:paragraphinfo state="U" number="14" xmlns:help="http://openoffice.org/2000/help"/>End the design mode using the icon on the <span class="T1">Form Functions</span> floating toolbar. If you now click on your button in the document (not on the edge), the assigned macro will run.</p>
  86.    </li>
  87.   </ul>
  88.   <table><tr class=""><th class="Tabelle3A1" style="text-align:left;"><span class="Tabelle3A">
  89.       <p class="TextInTable"><draw:image draw:name="Dialog2" svg:desc="Form Properties Dialog" svg:pixelx="306" svg:pixely="372" svg:width="8.096cm" svg:height="9.843cm" xlink:href="66967" draw:filter-name="" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  90.  
  91.      </span></th></tr></table>
  92.   <p class="Paragraph"><help:paragraphinfo state="U" number="76" xmlns:help="http://openoffice.org/2000/help"/>In addition to the properties of the selected controls, you also can control the properties of the form to which the control belongs. Click the <span class="T1">Form Function</span> floating toolbar on the <span class="T1">Form properties</span> icon.</p>
  93.   <p class="Paragraph"><help:paragraphinfo state="U" number="21" xmlns:help="http://openoffice.org/2000/help"/>The other icons on the <span class="T1">Form Functions</span> floating toolbar serve to define interactive documents. In <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Basic you can also define your own dialogs - for this purpose, there are other controls for dialogs available to you in the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Basic IDE.</p>
  94.   <p class="ParaList"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="65598" Eid="related" xmlns:help="http://openoffice.org/2000/help"/></p>
  95.   <p class="ParaList"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="68409" Eid="data_addressbook" xmlns:help="http://openoffice.org/2000/help"/></p>
  96.  </body></html>